KERNEL_DIR=/home/touchthink/atk-rk3568/rk3568_linux510_sdk/kernel  #内核源码路径

ARCH=arm64
CROSS_COMPILE=/opt/atk-dlrk356x-toolchain/bin/aarch64-buildroot-linux-gnu-
export  ARCH  CROSS_COMPILE

obj-m := rc522_device.o
all:
	$(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) modules

.PHONE:clean

clean:
	$(MAKE) -C $(KERNEL_DIR) M=$(CURDIR) clean
